package com.ruoyi.heatwork.demotcp.rest;

public interface DeviceConstant {


    /**
     * 所有设备
     */
    Integer ALL_DEVICE = 0;

    /**
     * 设备规模
     */
    Integer DEVICE_SCALE = 2;
    Integer ZY_VALUE = 1;
    Integer SX_VALUE = 2;

    /**
     * 通道值
     */
    String PASSAGEWAY_VALUE = "passagewayValue%s";
    String REAL_VALUE = "realValue%s";

    /**
     * 压力值
     */
    String PRESSURE_VALUE = "pressureValue%s";

    /**
     * 收缩值
     */
    String SHRINKAGE_VALUE = "shrinkageValue%s";

    /**
     * opc键类型
     */
    String OPC_KEY_TYPE = "keyType%s";

    /**
     * opc键类型
     */
    String PARAM_REPAIR_VALUE = "1";
    String HEX_CHECK_FORMAT = "CAFC%s4A000100";
    String HEX_SEND_FORMAT = "CAFC%s4A000100%sEE";

    String HEX_SEND_START = "CABD";
    String HEX_SEND1_START = "FFCABD";

    String HEX_SEND_END = "EE";
    String X_VALUE = "xValue";
    String YVALUE = "yValue";
    String INITIAL_X_VALUE = "initialXValue";
    String INITIAL_Y_VALUE = "initialYValue";

    Integer SHRINKAGE_1 = 5;
    Integer SHRINKAGE_2 = 6;
    Integer ROOF_PASSAGEWAY_NUM = 2;
    String WARN_DANGER_LIMIT_NAME = "warnDangerLimit%s";
    String WARN_UPPER_LIMIT_NAME = "warnUpperLimit%S";
    String WARN_LOWER_LIMIT_NAME = "warnLowerLimit%s";
    String WARN_CHANGE_LIMIT = "warnChangeLimit%s";
    String PRESSURE_UPPER_LIMIT = "pressureUpperLimit";
    String PRESSURE_LOWER_LIMIT = "pressureLowerLimit";
    String SHRINKAGE_UPPER_LIMIT = "shrinkageUpperLimit";
    String SHRINKAGE_LOWER_LIMIT = "shrinkageLowerLimit";
    String COAL_GRAPH_CONCLUSION = "从矿压分析角度来看，钻孔应力主要监测超前支承压力影响范围，监测范围为：煤壁-工作面前方100米范围，根据变化曲线及趋势判断%s处测点入超前支承压力影响范围，需加强观察。";


    /**
     * 指令默认初始值
     */
    String ORIGIN_COMMAND = "00";
    String SUBSTATION_NUM = "substationNum";
    String EXTENSION_NUM = "extensionNum";


    String SHRINKAGE_UPPER_LIMIT_COAL = "shrinkageUpperLimit%s";
    String SHRINKAGE_LOWER_LIMIT_COAL = "shrinkageLowerLimit%s";
    String SHRINKAGE_DANGER_LIMIT_COAL = "shrinkageDangerLimit%s";

    String CLIENT_STATUS_KEY = "%s-%s";
}
